@mixin in-dark {
  .dark {
    @content;
  }
}

@mixin img-in-dark {
  filter: brightness(80%) grayscale(20%) contrast(1.2);
}

@mixin scrollbar {
  &::-webkit-scrollbar-track {
    border-radius: 4px;
    background-color: var(--e-color-bg2);
  }

  &::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: var(--e-color-bg2);
  }

  &::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: var(--e-color-division1);
  }
}
